import perceptron
if __name__ == '__main__':
    p = perceptron.Perceptron(eta = 1.0, max_iter = 100)
    x = [[3, 3], [4, 3], [1, 1]]
    y = [1 , 1 , -1]
    p.fit(x, y)